package com.timmy.bluetooth.utils;


import com.timmy.bluetooth.R;

/**
 * 蓝牙震动指令
 */
public enum Mode {

    soft(R.string.if_head_shock_power_soft, 50),
    weak(R.string.if_head_shock_power_weak, 65),
    tapping(R.string.if_head_shock_power_tapping, 80),
    moderation(R.string.if_head_shock_power_moderation, 90),
    strong(R.string.if_head_shock_power_strong, 100),

    left(R.string.if_head_mode_left, 0),
    sync(R.string.if_head_mode_sync, 1),
    right(R.string.if_head_mode_right, 2);

    private int strId;
    private int value;

    private Mode(int strId, int powerValue) {
        this.strId = strId;
        this.value = powerValue;
    }

    public int getValue() {
        return value;
    }

    public int getStrId() {
        return strId;
    }
}
